package com.vids.model.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * <p>
 * 采集设备表
 * </p>
 *
 * @author ly
 */
@TableName("t_ape")
public class Ape extends Model<Ape> {

    @TableField("id")
    private String id;
    /**
     * 设备ID
     */
    @TableField("ape_id")
    private String ApeID;
    /**
     * 名称
     */
    @TableField("name")
    private String Name;
    /**
     * 型号
     */
    @TableField("model")
    private String Model;
    /**
     * ip地址
     */
    @TableField("ip_addr")
    private String IPAddr;
    /**
     * ipv6地址
     */
    @TableField("ipv6_addr")
    private String IPV6Addr;
    /**
     * 端口号
     */
    @TableField("port")
    private Integer Port;
    /**
     * 经度
     * 
     */
    @TableField("longitude")
    private Double Longitude;
    /**
     * 纬度
     */
    @TableField("latitude")
    private Double Latitude;
    /**
     * 安装地点行政区划代码
     */
    @TableField("place_code")
    private String PlaceCode;
    /**
     * 位置名
     */
    @TableField("place")
    private String Place;
    /**
     * 管辖单位代码
     */
    @TableField("org_code")
    private String OrgCode;
    /**
     * 车辆抓拍方向（0：拍车头；1：拍车尾，兼容无视频卡口信息设备）
     */
    @TableField("cap_direction")
    private Integer CapDirection;
    /**
     * 监视方向（和字典做关联）
     */
    @TableField("monitor_direction")
    private Integer MonitorDirection;
    /**
     * 监视区域说明
     */
    @TableField("monitor_area_desc")
    private String MonitorAreaDesc;
    /**
     * 是否在线
     */
    @TableField("is_online")
    private String IsOnline;
    /**
     * 所属采集系统（采集设备所接的采集系统设备）
     */
    @TableField("owner_aps_id")
    private String OwnerApsID;
    /**
     * 用户帐号（用于支持修改设备登陆帐号）
     */
    @TableField("user_id")
    private String UserId;
    /**
     * 口令（用于支持修改设备登陆口令）
     */
    @TableField("password")
    private String Password;

    @TableField("ability")
    private String ability;

    @TableField("feature_type")
    private String FeatureType;



    @TableField("makers")
    private String Makers;




    public String getId() {
	return id;
    }

    public void setId(String id) {
	this.id = id;
    }

    @JsonProperty("ApeID")
    public String getApeID() {
	return ApeID;
    }

    public void setApeID(String ApeID) {
	this.ApeID = ApeID;
    }

    @JsonProperty("Name")
    public String getName() {
	return Name;
    }

    public void setName(String Name) {
	this.Name = Name;
    }

    @JsonProperty("Model")
    public String getModel() {
	return Model;
    }

    public void setModel(String Model) {
	this.Model = Model;
    }

    @JsonProperty("IPAddr")
    public String getIPAddr() {
	return IPAddr;
    }

    public void setIPAddr(String IPAddr) {
	this.IPAddr = IPAddr;
    }

    @JsonProperty("IPV6Addr")
    public String getIPV6Addr() {
	return IPV6Addr;
    }

    public void setIPV6Addr(String IPV6Addr) {
	this.IPV6Addr = IPV6Addr;
    }

    @JsonProperty("Port")
    public Integer getPort() {
	return Port;
    }

    public void setPort(Integer Port) {
	this.Port = Port;
    }

    @JsonProperty("Longitude")
    public Double getLongitude() {
	return Longitude;
    }

    public void setLongitude(Double Longitude) {
	this.Longitude = Longitude;
    }

    @JsonProperty("Latitude")
    public Double getLatitude() {
	return Latitude;
    }

    public void setLatitude(Double Latitude) {
	this.Latitude = Latitude;
    }

    @JsonProperty("PlaceCode")
    public String getPlaceCode() {
	return PlaceCode;
    }

    public void setPlaceCode(String PlaceCode) {
	this.PlaceCode = PlaceCode;
    }

    @JsonProperty("Place")
    public String getPlace() {
	return Place;
    }

    public void setPlace(String Place) {
	this.Place = Place;
    }

    @JsonProperty("OrgCode")
    public String getOrgCode() {
	return OrgCode;
    }

    public void setOrgCode(String OrgCode) {
	this.OrgCode = OrgCode;
    }

    @JsonProperty("CapDirection")
    public Integer getCapDirection() {
	return CapDirection;
    }

    public void setCapDirection(Integer CapDirection) {
	this.CapDirection = CapDirection;
    }

    @JsonProperty("MonitorDirection")
    public Integer getMonitorDirection() {
	return MonitorDirection;
    }

    public void setMonitorDirection(Integer MonitorDirection) {
	this.MonitorDirection = MonitorDirection;
    }

    @JsonProperty("MonitorAreaDesc")
    public String getMonitorAreaDesc() {
	return MonitorAreaDesc;
    }

    public void setMonitorAreaDesc(String MonitorAreaDesc) {
	this.MonitorAreaDesc = MonitorAreaDesc;
    }

    @JsonProperty("IsOnline")
    public String getIsOnline() {
	return IsOnline;
    }

    public void setIsOnline(String IsOnline) {
	this.IsOnline = IsOnline;
    }

    @JsonProperty("OwnerApsID")
    public String getOwnerApsID() {
	return OwnerApsID;
    }

    public void setOwnerApsID(String OwnerApsID) {
	this.OwnerApsID = OwnerApsID;
    }

    @JsonProperty("UserId")
    public String getUserId() {
	return UserId;
    }

    public void setUserId(String UserId) {
	this.UserId = UserId;
    }

    @JsonProperty("Password")
    public String getPassword() {
	return Password;
    }

    public void setPassword(String Password) {
	this.Password = Password;
    }

    @Override
    public Serializable pkVal() {
	return this.id;
    }
    @JsonProperty("ability")
    public String getAbility() {
        return ability;
    }

    public void setAbility(String ability) {
        this.ability = ability;
    }
    @JsonProperty("feature_type")
    public String getFeatureType() {
        return FeatureType;
    }

    public void setFeatureType(String featureType) {
        FeatureType = featureType;
    }
    @JsonProperty("makers")
    public String getMakers() {
        return Makers;
    }

    public void setMakers(String makers) {
        Makers = makers;
    }

    @Override
    public String toString() {
        return "Ape{" +
                "id='" + id + '\'' +
                ", ApeID='" + ApeID + '\'' +
                ", Name='" + Name + '\'' +
                ", Model='" + Model + '\'' +
                ", IPAddr='" + IPAddr + '\'' +
                ", IPV6Addr='" + IPV6Addr + '\'' +
                ", Port=" + Port +
                ", Longitude=" + Longitude +
                ", Latitude=" + Latitude +
                ", PlaceCode='" + PlaceCode + '\'' +
                ", Place='" + Place + '\'' +
                ", OrgCode='" + OrgCode + '\'' +
                ", CapDirection=" + CapDirection +
                ", MonitorDirection=" + MonitorDirection +
                ", MonitorAreaDesc='" + MonitorAreaDesc + '\'' +
                ", IsOnline='" + IsOnline + '\'' +
                ", OwnerApsID='" + OwnerApsID + '\'' +
                ", UserId='" + UserId + '\'' +
                ", Password='" + Password + '\'' +
                ", ability='" + ability + '\'' +
                ", FeatureType='" + FeatureType + '\'' +
                ", Makers='" + Makers + '\'' +
                '}';
    }
}
